package com.jx.dao;

import com.jx.pojo.CarouselBanner;
import com.jx.pojo.Floor;
import com.jx.pojo.GuessLike;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface HomeMapper {
    /**
     * 查询floor表的数据
     * @return
     */
    @Select("select * from floor")
    List<Floor> getFloorList();

    /**
     * 查询carousel_banners表的数据
     * @return
     */
    @Select("select * from carousel_banner")
    List<CarouselBanner> getCarouselBannerList();

    /**
     * 查询guess_like表的数据
     * @return
     */
    @Select("select * from guess_like")
    List<GuessLike> getGuessLikeList();
}
